#ifndef BASIC_H
#define BASIC_H

#include <QWidget>
#include <QLineEdit>
#include <QFormLayout>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFile>
#include <QDataStream>
#include <QMessageBox>
#include <QStandardItemModel>

class basic: public QDialog
{
    Q_OBJECT
public:
    basic();
    QString getname();
    QString getaddress();
signals:
    void closeBox();
public slots:
    void savemess();
private:
    QLineEdit *name;
    QLineEdit *address;
    QPushButton *submit;
    QPushButton *cancel;
};

#endif // BASIC_H
